<?php

if (is_file(__DIR__ . '/functions/Autoload.php')) {
    require_once __DIR__ . '/functions/Autoload.php';
}

define('TOOLS_ENTRANCE', __DIR__);

$options = getOptions();

if ($options['f'] == 'model') {
    $model = new \tools\ModelProperty();
    $model->run();
    exit();
}

$instance = new \tools\lib\Create(new \tools\lib\Parameter($options));
$instance->start();


